package com.zky.gulimall.authserver.feign;

import com.zky.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description 三方服务
 * @Author 张开源
 * @Date 2022/11/21 15:21
 * @Version 1.0
 **/
@FeignClient("gulimall-third-party")
public interface ThirdPartFeignService {
    @PostMapping("/sms/sendCode")
    R sendCode(@RequestParam("phone") String phone,
               @RequestParam("code") String code,
               @RequestParam("expireTime") long expireTime);
}
